<?php
/**
 * @Project NUKEVIET 3.0
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2010 VINADES., JSC. All rights reserved
 * @Createdate 3-6-2010 0:14
 */

if ( ! defined( 'NV_IS_MOD_SHOPS' ) ) die( 'Stop!!!' );
if ( ! defined( 'NV_IS_AJAX' ) ) die( 'Wrong URL' );
$viewcat = $nv_Request->get_string( 'viewcat', 'post,get',null );
$viewcat_order = $nv_Request->get_string( 'viewcat_order', 'post,get', null);
$_SESSION['shop_viewcat'] = $viewcat?$viewcat:($_SESSION['shop_viewcat']?$_SESSION['shop_viewcat']:"viewcat_page_list");
$_SESSION['shop_viewcat_order'] = $viewcat_order?$viewcat_order:($_SESSION['shop_viewcat_order']?$_SESSION['shop_viewcat_order']:"id desc");
echo $_SESSION['shop_viewcat']."___".$_SESSION['shop_viewcat_order'];
?>